<?php include "view/header.html"; ?>

<div id="m">
<?php if(!empty($cookienum)){ ?>
<form method="post" action="index.php?action=addlog" >
<input name="logcontent" value="" /><input type="submit" value="发碎语" />
</form>
<?php } ?>
<?php foreach($mlogs as $key=>$mlog){ ?>
<div class="title"><a href="#"><?php echo $mlog['content']; ?></a></div>
<div class="info"><?php echo date('Y-m-d H:i:s',$mlog['cTime']); ?></div>
<!--div class="info2">
<a href="./?action=write&id=#">回复</a>
</div-->
<?php } ?>
<div id="page"><?php echo $page_url; ?></div>
</div>
<?php include "view/footer.html"; ?>